package com.fs.groupSeven.service;


import com.fs.groupSeven.pojo.College;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Set;

public interface CollegeService {
    List<College> getAll();
    List<String> queryCollegeName();
    boolean addOne(College college);
    College getOneByUserId(Integer collegeId);
    boolean updateOne(College college);
    boolean deleteOneById(Integer collegeId);
    PageInfo<College> getUsersByPage(Integer currentPage,
                                  Integer pageSize);
    Set<College> getUserThatAddressLike(String collegename);
}
